page {
  display: flex;
  flex-direction: column;
  height: 100%;
  --font-size-description: 28rpx;
}
.container {
  padding: 32rpx 32rpx 120rpx 32rpx;
  flex: 1;
  .card {
    padding: 56rpx;
    border: 2rpx solid var(--divider-base-color);
    border-radius: 28rpx;
    box-shadow: var(--box-shadow-card);
    margin-bottom: 56rpx;
  }
  .form-area .desc {
    padding-bottom: 42rpx;
    border-bottom: 2rpx solid var(--divider-base-color);
  }
  .form-area .form {
    padding-top: 42rpx;
    color: rgb(51, 65, 85);
    .form-item {
      font-size: 31rpx;
      font-weight: 500;
      line-height: 48rpx;
      margin-top: 42rpx;
    }
    .form-item:first-child {
      margin-top: 0;
    }
    .form-item.excluded-words .form-label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      .right {
        color: var(--primary-color);
        font-size: 24rpx;
        font-weight: 500;
        .icon {
          font-size: 24rpx;
          margin-right: 6rpx;
        }
      }
    }
    .form-label {
      margin-bottom: 14rpx;
    }
    .mark,
    .excluded-desc,
    .excluded-words-all {
      color: rgb(100, 116, 139);
      font-size: 24rpx;
      line-height: 34rpx;
    }
    .excluded-desc {
      margin-bottom: 20rpx;
      line-height: 38rpx;
    }
    .excluded-words-all {
      margin-top: 20rpx;
      background-color: rgb(241, 245, 249);
      border-radius: 10rpx;
      padding: 14rpx;
    }
    .form-input {
      padding: 0 28rpx;
      height: 80rpx;
      line-height: 80rpx;
      border: 2rpx solid rgb(209, 213, 219);
      border-radius: 20rpx;
    }
    .form-input:focus {
      border: 2rpx solid var(--primary-color);
    }
    .common-family-names {
      margin-top: 20rpx;
    }
    .classics,
    .common-family-names {
      display: flex;
      justify-content: center;
    }
    .classics .wrapper,
    .common-family-names .wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      gap: 24rpx;
      font-size: 24rpx;
      line-height: 24rpx;
      font-weight: 500;
      .classic,
      .common-family-name {
        flex: 1 1 auto;
        padding: 14rpx 28rpx;
        border: 2rpx solid rgb(209, 213, 219);
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 9999rpx;
        text-align: center;
      }
      .classic.active,
      .common-family-name.active {
        color: #fff;
        border-color: var(--primary-color);
        background-image: var(--linear-gradient);
      }
    }
  }
  .form-area .item {
    display: flex;
    align-items: flex-start;
    margin-top: 28rpx;
    color: rgb(30, 41, 59);
    font-size: var(--font-size-description);
    line-height: 42rpx;
  }
  .form-area .item:first-child {
    margin-top: 0;
  }
  .form-area .text {
    flex: 1;
  }
  .name-list {
    .name-title {
      font-size: 42rpx;
      line-height: 48rpx;
      font-weight: 600;
      padding-bottom: 28rpx;
      color: rgb(17, 94, 89);
      text-align: center;
    }
  }
  .generate {
    position: fixed;
    z-index: 100;
    left: 32rpx;
    right: 32rpx;
    // bottom: calc(env(safe-area-inset-bottom) / 2);
    bottom: 30rpx;
    text-align: center;
    height: 80rpx;
    line-height: 80rpx;
    background-image: var(--linear-gradient);
    border-radius: 21rpx;
    font-size: 28rpx;
    font-weight: 600;
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
  }
}